#ifndef __KEY_H
#define __KEY_H
#include "stm32f10x.h"   // Device header
extern u8 reci_data[32]; 
extern u8 reci_data_flag;

enum data_type
{
    turn_left = 0x11,
    turn_right = 0x22,
    crastidrome = 0x33,
    go = 0x55,
    back = 0x50,
    brake = 0x60,
};


typedef struct 
{
   enum data_type car_command;
   u32 data_value; 
}car_control;


void My_EXTI_Init(void);


#endif
